package com.tarena.lbs.coupon.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tarena.lbs.coupon.pojo.param.CouponParam;
import com.tarena.lbs.coupon.pojo.po.CouponPO;
import com.tarena.lbs.coupon.pojo.query.UserCouponCodeQuery;
import com.tarena.lbs.coupon.pojo.vo.CouponVO;
import com.tarena.lbs.coupon.pojo.vo.UserCouponsVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface CouponMapper extends BaseMapper<CouponPO> {

    void updateCouponStatus(CouponParam couponParam);

    void updateCoupon(CouponParam couponParam);

    void deleteCoupon(CouponParam couponParam);

    CouponVO detail(int CouponParam);

    List<Map<String, Object>> selectAllCoupons();


}
